#ifndef __PinBoardProc_h__
#define __PinBoardProc_h__

#define W_CON RE7

#define PinboardRetryTimes 3
#define PinboardReadTimeOut 65536-2000000/64 //2000ms

#define MAXPINBOARD 5

extern unsigned char PinboardCount;
extern unsigned char PinboardAddrList[5][6];
extern unsigned char PinboardDatas[5][21];
void PinboardReadAll(void);
void PinboardRxProc(unsigned char rx);
unsigned char PinboardSwitch(unsigned char index,unsigned char sw);
void InitUartPinboard(void);
#endif // __PinBoardProc_h__
